<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<LINK REL="stylesheet" TYPE="text/css" HREF="<?php echo base_url()?>css/estilos.css">
    <LINK REL="stylesheet" TYPE="text/css" HREF="<?php echo base_url()?>css/navegador.css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $titulo; ?></title>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css">
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script>
</head>
<body>

<div class="container">
  <div class="header"><a href="#"><img src="<?php echo base_url()?>public/img/logo.jpg" alt="Insertar logotipo aquí" name="Insert_logo" width="180" height="90" id="Insert_logo" style="background-color: #C6D580; display:block;" /></a> 
    <!-- end .header --></div>
  <div class="sidebar1">
    <ul class="nav">
	<li><?php echo anchor('grafica','Volver.');?></li>
      
      
      
    </ul>
    <p></p>
    <p></p>
    <!-- end .sidebar1 --></div>
      <div class="content">
      <div class="navegador">
<ul>
<li><?php echo anchor('consultas','Datos por fecha.');?></li>
      <li><?php echo anchor('consultas/mediasdeldia','Medias de un dia.');?></li>
      
</ul>
</div>
<div id="datepicker"></div>
<p><form method="post" name="datepickerForm">
    
    
    <input type="hidden" id="dia" name="dia" />
    <input type="hidden" id="mes" name="mes" />
    <input type="hidden" id="anno" name="anno" />
        
    <input name="" type="submit" value="Enviar"/>
</form></p>
<script>
$( "#datepicker" ).datepicker({dateFormat: "dd/mm/yy", onSelect: function (date, inst){
        
             $('#dia').val( date.split('/')[0] );
            $('#mes').val( date.split('/')[1] );
            $('#anno').val( date.split('/')[2] );

        $(this).parent('form').submit();
    }
});
</script>
          
          
          
          

    <!-- end .content --></div>